package com.zjc.stock.calculator;

/**
 * 最低手续费 最低手
 */
public class MinCommissionMinStroke {

    public static void main(String[] args) {
        Double price = 7.68;
        Double commissionRate = 0.000235;
        Double minMoney = 5 / commissionRate;
        long minStroke = (long) Math.ceil (5 / commissionRate / price / 100);

        System.out.println(minMoney);
        System.out.println(minStroke);
    }
}
